{eval var=$row->statusid assign="stid"}
<td style="text-align: left">
	{if $CURRENT_USER->groupid eq 'ADMIN'}
	<span class="link" onclick="removeFile('{$row->id}','{$projectid}')">[ Remove ]</span>&nbsp;
	{/if}
	{* if $stid neq 'locked'*}
		{if $row->state() eq 1}
			<img src="images/green.gif" alt="ok" width="8" height="8">&nbsp;
		{elseif $row->state() eq 2}
			<img src="images/yellow.gif" alt="fuzzy" width="8" height="8">&nbsp;
		{elseif $row->state() eq 3}
			<img src="images/red.gif" alt="unstranslated" width="8" height="8">&nbsp;
		{else}
			<img src="images/blank.png" width="8" height="8">&nbsp;
		{/if}
	{* else}
		<img src="images/blank.png" width="8" height="8">&nbsp;
	{/if*}
	&nbsp;
{if $row->auto eq '0' and (
	$CURRENT_USER->groupid eq COORD 
	OR (($CURRENT_USER->groupid eq MEMBER OR $CURRENT_USER->groupid eq SVN) AND ($CURRENT_USER->userid eq $row->userid OR ($stid neq 'locked' AND $stid neq 'proof' AND $stid neq 'cmpnd'))) 
	OR ($CURRENT_USER->userid eq $row->userid AND $stid neq 'done')
	OR (($stid eq 'todo' OR $stid eq 'chkpnd') AND ($CURRENT_USER->groupid eq MEMBER OR $CURRENT_USER->groupid eq SVN))
	)
	}
	<span class="link" id="row{$row->id}" onclick="showUpdateForm(event,'update_file_status_form','{$row->id}','{$row->name}','{$row->statusid}','{$row->stamp}','{$row->userid}',updateform);">
		<img src="images/{$row->statusid}.png" alt="{$lang.$stid}" title="{$lang.$stid}" width="18" height="18">
	</span>
{else}
	<img src="images/{$row->statusid}.png" alt="{$lang.$stid}" title="{$lang.$stid}" width="18" height="18">
{/if}
<!--</td>
<td style="text-align: left">-->
<img onclick="showHistory(event,'{$row->id}')" src="images/log.png" alt="" width="18" height="18" title="{$lang.history}" alt="{$lang.history}" style="cursor: pointer">&nbsp;&nbsp;
<img onclick="openURL('{$row->url}')" style="cursor: pointer" src="images/showhistory.gif" alt="{$lang.gotosvn}" title="{$lang.gotosvn}" width="18" height="18">
<span class="link" alt="{$lang.getfile}" title="{$lang.getfile}" onclick="window.open('r.php?action=svndownload&fileid={$row->id}')">
	{$row->name}
</span>
&nbsp;[&nbsp;{$row->path}&nbsp;]
</td>
<!--td>{$row->path}</td-->
<td style="text-align: center">{$row->lastupdate}</td>
<td style="text-align: center">
	{if $stid eq 'locked' or $stid eq 'cmpnd' or $stid eq 'proof'}
		{if $row->userid neq $CURRENT_USER->userid}
			<span class="link" onclick="openMessage(event,'{$row->userid}','utu')" title="{$lang.sendmp}">{$row->userid}</span>
		{else}
			{$row->userid}
		{/if}
	{/if}
</td>
<td><center>{if $row->untranslated eq ''} - {else} {$row->untranslated} {/if} / {if $row->fuzzy eq ''} - {else} {$row->fuzzy} {/if} / [{if $row->total() eq ''} - {else}{$row->total()}{/if}]<center></td>
<!--td><center>{if $row->fuzzy eq ''} - {else} {$row->fuzzy} {/if}<center></td-->
<td style="text-align: left;">{$row->comment}</td>